<ion-content>
	<ion-row class="logo">
		<ion-col size="6"  class="img">
            <img src="/assets/images/login/login_logo.svg" alt="">
        </ion-col>
        <ion-col size="6">
            <ion-row class="appName">云展业</ion-row>
            <ion-row class="appIntroduce">您的贷款好助手</ion-row>
        </ion-col>
	</ion-row>
	<div class="content">
		<div class="login-content">
			<form 
				(ngSubmit)="login()" 
				[formGroup]="loginForm">
				<ion-list>
					<ion-item class="login_user ion-no-padding" lines="full">
						<img src="/assets/images/login/login_account_icon.svg" alt="" />
						<ion-input 
							autocomplete="on" 
							formControlName="loginId" 
							(ionChange)="change()"
                            spellcheck="true" 
							class="loginId" 
							(ionFocus)="onFocus($event)" 
							(ionBlur)="onBlur($event)"
                            placeholder="个人手机号即为云展业账号" 
							maxlength = "11">
                        </ion-input>
                        <img src="/assets/images/login/Delete.svg" alt="" (click)="delete()" *ngIf="deleteFlag">
					</ion-item>
					<ion-item lines="full" class="login_user ion-no-padding">
                        <img src="/assets/images/login/login_password_icon.svg" alt="">
                        <ion-input formControlName="password" spellcheck="true" type="{{type}}"
                               placeholder="">
                        </ion-input>
                        <span (click)="show()">
                            <img src="/assets/images/login/eye_close.svg" alt="" *ngIf="!eyeFlag">
                            <img src="/assets/images/login/eye.svg" alt="" *ngIf="eyeFlag">
                        </span>
                    </ion-item>
                    <ion-item lines="none" class="login_user selected ion-no-padding" (click)="remember()">
                        <img src="assets/images/status/round_check.svg" alt="" *ngIf="!checkFlag" class="check">
                        <img src="assets/images/status/round_check_fill.svg" alt="" *ngIf="checkFlag" class="check">
                        记住账号
                    </ion-item>
				</ion-list>
				<ion-row>
                    <ion-button (click)="check()" fill='clear'>立即登录</ion-button>
                </ion-row>
			</form>
		</div>
	</div>
	<div class="number" >
        <div *ngFor="let item of number" (click)="selectNumber(item)">{{item}}</div>
    </div>
</ion-content>
